<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>">
<title>安卓自动兼容测试系统</title>
<link href="<%=basePath%>/css/bootstrap.min.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>/css/bootstrap-responsive.min.css"
	rel="stylesheet" type="text/css" />
<link href="<%=basePath%>/css/font-awesome.min.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>/css/style-metro.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>/css/style.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>/css/style-responsive.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>/css/default.css" rel="stylesheet"
	type="text/css" id="style_color" />
<link href="<%=basePath%>/css/uniform.default.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>/css/fullcalendar.css" rel="stylesheet" />
<link href="/Terminator/css/toaster.min.css" rel="stylesheet" />
<link rel="shortcut icon" href="<%=basePath%>/image/favicon.ico" />
<script src="<%=basePath%>/js/jquery-3.0.0.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>/js/calendar.js"></script>
<script src="<%=basePath%>/js/jquery-migrate-1.2.1.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>/js/jquery-ui-1.10.1.custom.min.js"
	type="text/javascript"></script>
<script src="/Terminator/js/angular.min.js"></script>
<script src="/Terminator/js/angular-animate.min.js">
	
</script>
<script src="/Terminator/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/Terminator/js/toaster.min.js">
	
</script>
<script src="<%=basePath%>/js/jquery.slimscroll.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>/js/jquery.blockui.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>/js/jquery.cookie.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>/js/jquery.uniform.min.js"
	type="text/javascript"></script>
<script src="<%=basePath%>/js/fullcalendar.min.js"></script>
<script src="/Terminator/js/angular-popups.js">
	
</script>
<script src="<%=basePath%>/js/app.js"></script>

</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed modal-open" ng-app='calApp'
	ng-controller='calCtrl' data-ng-init="init()">
	<div align="center">
		<toaster-container></toaster-container>
	</div>
	<!-- BEGIN CONTAINER -->

	<div>
		<!-- BEGIN PAGE -->
		<div class="">
			<!-- BEGIN PAGE CONTAINER-->
			<div class="container-fluid"
				style="padding-right: 0; padding-left: 0;">
				<!-- BEGIN PAGE CONTENT-->
				<div class="row-fluid">
					<div class="portlet box blue calendar">
						<div class="portlet-title">
							<div class="caption">工作日志</div>
						</div>

						<div class="portlet-body light-grey">

							<div class="row-fluid">

								<div class="span3 responsive" data-tablet="span12 fix-margin"
									data-desktop="span8">

									<!-- BEGIN DRAGGABLE EVENTS PORTLET-->

									<h3 class="event-form-title">可拖拽日程</h3>
									<div ng-show='isShowChoice'>
										<select ng-model="subordinate" ng-selected="1"
											class="form-control selectInput ng-pristine ng-valid ng-not-empty ng-touched"
											ng-options="x.usersid as x.name for x in subordinates"
											ng-change="subordinatesChange()" style="float: left;"></select>
										<input type="text" ng-model="monthexport"
											placeholder="默认查询上个月" class="form-control input-sm" /> <input
											type="button" ng-model="monthexportbtn"
											ng-click='monthexportfun()' value="导出" />
									</div>
									<div id="isShowDayEvent" class="modal"
										style="display: none; width: 260px; margin-left: 0px;"
										tabindex="-1" data-backdrop="static" data-keyboard="false">

										<div class="modal-body">

											<p>请填写工作内容和工时</p>
											<select ng-model="currentprojectname"
												ng-options="x for x in projectnamelist" class="form-control"
												ng-selected=1>
											</select> <br />
											<textarea placeholder="工作内容及进度" rows="5" cols="4"
												ng-model="work_content"></textarea>
											<br /> <input type="text" ng-model="work_time"
												placeholder="工时" ng-keyup="clearNoNum(work_time)"
												placeholder="" class="form-control input-sm">
										</div>

										<div class="modal-footer">

											<button type="button" data-dismiss="modal"
												ng-click='isShowDayEventCancle()' class="btn">取消</button>

											<button type="button" data-dismiss="modal"
												ng-click='addDayEvent()' class="btn green">确定</button>

										</div>

									</div>
									<div id="static" class="modal"
										style="display: none; width: 400px; margin-left: 0px;"
										tabindex="-1" data-backdrop="static" data-keyboard="false">

										<div class="modal-body">
											<p>{{currentEventResult.title}}</p>
											<p>项&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目：{{currentEventResult.projectname}}</p>
											<p>工作内容：{{currentEventResult.workcontent}}{{currentEventResult.title}}</p>
											<p>工&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时：{{currentEventResult.worktime}}</p>
											<p>确定删除?</p>

										</div>

										<div class="modal-footer">

											<button type="button" data-dismiss="modal"
												ng-click='deleteCalendarCancle()' class="btn">取消</button>

											<button type="button" data-dismiss="modal"
												ng-click='deleteCalendarOK()' class="btn green">确定</button>

										</div>

									</div>
									<div id="external-events">

										<form class="inline-form">
											<!-- 
											<input type="text" value="" class="m-wrap span12"
												placeholder="日程描述..." id="event_title" /><br />
												
												 <a
												href="javascript:;" id="event_add" class="btn green"
												ng-click='eventAddClick()' >添加日程</a>
												 -->

										</form>

										<hr />
										<!-- 
										<div id="event_box"></div>

										<label for="drop-remove"> <input type="checkbox"
											id="drop-remove" style="margin: 0;" />拖拽后删除

										</label>
										 -->
										<hr class="visible-phone" />
									</div>
									<!-- END DRAGGABLE EVENTS PORTLET-->
								</div>
								<div class="span9">
									<div id="calendar" class="has-toolbar fc fc-ltr"></div>
								</div>
							</div>
							<!-- END CALENDAR PORTLET-->
						</div>
					</div>
				</div>
				<!-- END PAGE CONTENT-->
			</div>
			<!-- END PAGE CONTAINER-->
		</div>
		<!-- END PAGE -->
	</div>
</body>
</html>